const fs = require("fs");
const request = require("request");

for (let i = 0; i < 360; i++) {
  request(`http://121.4.72.232/images/avatar/${i + 1}.png`)
    .pipe(fs.createWriteStream(`./img/PEN${i + 1}.png`));
}

console.log("完成啦");
